package com.dragon8869.myspringboot.service;

import com.dragon8869.myspringboot.entity.AyUser;

import javax.mail.MessagingException;
import java.io.UnsupportedEncodingException;
import java.util.List;

public interface MailService {

    void sendMail(List<AyUser> ayUsers) throws MessagingException, UnsupportedEncodingException;

    void sendMail(AyUser ayUser) throws UnsupportedEncodingException, MessagingException;

}
